﻿using AdminSystem.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AdminSystem.Repositories
{
    public class BaseDBContext:DbContext
    {
        public BaseDBContext(DbContextOptions<BaseDBContext> options) : base(options) { }
        public DbSet<User> Users { get; set; }
        public DbSet<Role> Roles { get; set; }
        public DbSet<UserRole> UserRoles { get; set; }
        public DbSet<Shop> Shops { get; set; }
        public DbSet<Traceability> Traceabilitys { get; set; }
        public DbSet<Breed> Breeds { get; set; }
        public DbSet<BreedImmunity> BreedImmunitys { get; set; }
        public DbSet<FarmEnterprise> FarmEnterprises { get; set; }
        public DbSet<Immunity> Immunitys { get; set; }
        public DbSet<Images> Imagess { get; set; }
        public DbSet<ImagesMiddle> ImagesMiddles { get; set; }
    }
}
